using System;
using Phoenix;

namespace HelloWorld.Controllers
{
    public class PageWithExceptionsViewModel : ViewModelBase
    {
        protected override void OnActivated()
        {
            Controller<HomeController>().InvokeActionWithResult<int>(c => c.AsyncWithResultException()).Wait();
        }
    }
}